package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"varchar(30)" json:"username"`
	Password string `gorm:"varchar(30)" json:"password"`
}
type RedBook struct {
	gorm.Model
	Title   string `gorm:"varchar(30)" json:"title"`
	Content string `gorm:"varchar(100)" json:"content"`
	Img     string `gorm:"varchar(255)" json:"img"`
	Take    string `gorm:"varchar(120)" json:"take"`
}
